home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / glibc-1.09 / glibc-1 / glibc-1.09.1 / sysdeps / unix / bsd / direct.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-03  |  281 b   |  14 lines

  1. #ifndef    MAXNAMLEN
  2. #define    MAXNAMLEN    255
  3. #endif
  4.  
  5. struct direct
  6.   {
  7.     unsigned int d_fileno;    /* 32 bits.  */
  8.     unsigned short int d_reclen; /* 16 bits.  */
  9.     unsigned short int d_namlen; /* 16 bits.  */
  10.     char d_name[MAXNAMLEN + 1];
  11.   };
  12.  
  13. #define D_NAMLEN(d) ((d)->d_namlen)
  14.